package com.mofang.activity.recommend;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.mofang.R;
import com.mofang.activity.BaseTitleViewActiviey;

public class RecommendSuccessActivity extends BaseTitleViewActiviey implements
		OnClickListener {

	private Button recommend_success_btn;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_recommend_success);
		setNavigationTitle("推荐成功");
		setNavigationLeftBtnImage(R.drawable.return_arrow);

		recommend_success_btn = (Button) findViewById(R.id.recommend_success_btn);
		recommend_success_btn.setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {

		switch (v.getId()) {
		case R.id.recommend_success_btn:

			Intent intent = new Intent(getApplicationContext(),
					AllRecommendedDetails.class);
			startActivity(intent);

			break;

		default:
			break;
		}

	}

}
